
package net.lbh.share.bean;

import java.io.Serializable;

import android.content.Context;

import com.umeng.socialize.media.UMImage;
import com.umeng.socialize.media.UMVideo;
import com.umeng.socialize.media.UMusic;

public class ShareInfo implements Serializable {

	private static final String TAG = ShareInfo.class.getName();
	
    private static final long serialVersionUID = 1L;
    
    
    /***分享内容**/
    private String text;
    /***分享图片URL**/
    private String imgUrl; 

    /***分享本地图片资源id**/
    private int LocalImgId; 

    /***分享本地图片资源Uri**/
    private String LocalImgUri; 
    
    private UMImage image;
    
    /***分享网络 音乐**/
    private UMusic music; 

    /***分享网络 视频**/
    private UMVideo video; 
    
    
    
    /***分享标题**/
    private String title;
    
    /***分享链接**/
    private String url; 
    private String id;

    public String getId() {
        return id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public String getText() {
        return text;
    }

    public String getTitle() {
        return title;
    }

    public String getUrl() {
        return url;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setImgUrl(String imgUrl,Context context) {
        this.imgUrl = imgUrl;
        this.image = new UMImage(context,imgUrl);
        
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setUrl(String url) {
        this.url = url;
    }

	/**
	 * @return the localImgId
	 */
	public int getLocalImgId() {
		return LocalImgId;
	}

	/**
	 * @param localImgId the localImgId to set
	 */
	public void setLocalImgId(int localImgId,Context context) {
		LocalImgId = localImgId;
		this.image = new UMImage(context,localImgId);
	}

	/**
	 * @return the localImgUri
	 */
	public String getLocalImgUri() {
		return LocalImgUri;
	}

	/**
	 * @param localImgUri the localImgUri to set
	 */
	public void setLocalImgUri(String localImgUri,Context context) {
		LocalImgUri = localImgUri;
		this.image = new UMImage(context,localImgUri);
	}

	/**
	 * @return the music
	 */
	public UMusic getMusic() {
		return music;
	}

	/**
	 * @param music the music to set
	 */
	public void setMusic(UMusic music) {
		this.music = music;
	}

	/**
	 * @return the video
	 */
	public UMVideo getVideo() {
		return video;
	}

	/**
	 * @param video the video to set
	 */
	public void setVideo(UMVideo video) {
		this.video = video;
	}

	/**
	 * @return the image
	 */
	public UMImage getImage() {
		return image;
	}

	/**
	 * @param image the image to set
	 */
	public void setImage(UMImage image) {
		this.image = image;
	}
    
	
	
    

}
